package com.twu.biblioteca;

public class InvalidItemException extends Exception {

    private final String bookTitle;

    public InvalidItemException(String bookTitle) {
        this.bookTitle = bookTitle;
    }

    public String getMessage() {
        return "InvalidBookException: "
                + bookTitle + " is not a valid book.";
    }

}
